<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">

    <title>chatroom</title>
  </head>
  <body>
    <div id="app"></div>
    <script type="text/javascript">
        var mobile = navigator.userAgent.toLowerCase().match(/android|iphone/i);
        if(mobile!=null){//是手机端
//				window.location.href="http://m.kdw.cc";
            document.write(mobile);
        }else{
            document.write("PC端：Hello, World!");
        }
    </script>
  </body>
  <!--<script src="/src/assets/css/reset.css"></script>-->
</html>
